﻿<%template _header%>
<%namespace YouHP.Model.Group%>
<!--header end-->

<script type="text/javascript">
	var opwdok = false;
	var pwdok = false;
	var pwd1ok = false;
	
	function checkform()
	{
		$("creatform").submit();
	}
</script>	

<!--主体-->
<div class="layout-cols2">
<div class="col1">
		<div class="box">
			<div class="caption"><%template _memgroupmenu%>	</div>
			<div class="content">

					<%if ErrorCount==0%>
					
						<%if IsPost%>
						
							<%template _msgbox%>
							
						<%else%>
							
							<form action="" method="post" ID="creatform">
								<table style ="margin:10px auto auto 50px;"><tr><td>
								<label for="groupname">圈子名称：</label></td>
								<td>
								<input name="groupname" id="groupname" type="text" 
								       class="colorblue" onfocus="this.className='colorfocus';"
								       onblur="this.className='colorblue'"
								       size="20" />
								</td></tr>
								<tr><td>
								<label for="groupkeyword">圈子关键字：</label></td>
								<td>
								<input name="groupkeyword" id="groupkeyword" type="text" 
								       class="colorblue" onfocus="this.className='colorfocus';"
								       onblur="this.className='colorblue'"
								       size="60" />
								</td></tr>
								<tr><td>
								<label for="groupintro">圈子介绍：</label></td>
								<td>
								<input name="groupintro" id="groupintro" type="text" 
								       class="colorblue" onfocus="this.className='colorfocus';"
								       onblur="this.className='colorblue'"
								       size="60" /> &nbsp;不超过20个字
								</td></tr>
								<tr><td>
								
								<label for="groupbrowser">发帖权限：</label></td>
								<td>
  				      <input type="radio" name="groupbrowser" value="0"
					             class="colorblue" onfocus="this.className='colorfocus';"
					             onblur="this.className='colorblue'"
					             checked
					             />所有人都能发帖 &nbsp;&nbsp;
	  			      <input type="radio" name="groupbrowser" value="1" 
					             class="colorblue" onfocus="this.className='colorfocus';"
					             onblur="this.className='colorblue'"
					             />只有圈子成员才能法帖
								</td></tr>
								
								 <tr><td>
								<label for="groupjoin">加入权限：</label></td>
								<td>
  				      <input type="radio" name="groupjoin" value="0"
					             class="colorblue" onfocus="this.className='colorfocus';"
					             onblur="this.className='colorblue'"
					             checked
					             />加入圈子不需要批准 &nbsp;&nbsp;
	  			      <input type="radio" name="groupjoin" value="1" 
					             class="colorblue" onfocus="this.className='colorfocus';"
					             onblur="this.className='colorblue'"/>加入圈子需要管理员批准
					        </td></tr></table>
								<br />
								<br />
								
								<div align="right">
								<label for="Submit">&nbsp;</label>
								<input type="button" name="btnSubmit" value="确定" class="buttonstyle" 
								       ID="btnSubmit" onclick="checkform();"/></div>
								
							</form>
							
						<%/if%>
						
						</div>
						
					<%else%>
						<%template _memerrmsgbox%>
					<%/if%>
					

		</div>
	</div>
	<div class="col2">
	    
	    <%template _UserMenu%>

	    <%template _PatientMenu%>
	    <%template _GroupMenu%>
	    <%template _MessageMenu%>
	
	</div>
</div>
<!--主体-->
<%template _footer%>
